package projectwork.shchuangge.cn.com.newproject.ui.view;

import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import projectwork.shchuangge.cn.com.newproject.ui.fragment.BeasicFragment;

/**
 * Created by 赵航 on 2017/6/21.
 */

public class AccessoriesFragment extends BeasicFragment {
    @Override
    protected Object requestNetData() {
        return null;
    }

    @Override
    public View creatSuccessView() {
        TextView textView = new TextView(getContext());
        textView.setText("配饰");
        textView.setTextSize(50);
        LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
        params.gravity = Gravity.CENTER;
        textView.setLayoutParams(params);
        return textView;
    }
}
